package com.sinochem.yunlian.ship.common.enums;

import lombok.Getter;

/**
 * @Auther: houshihao
 * @Date: Create in 2017/12/08 17:08
 **/
@Getter
public enum IMInterfaceActionEnums {
    GET_TOKEN("/token" , "获取授权管理员"),   //使用 APP 的 client_id 和 client_secret 获取授权管理员 token
    USER_REGISTER("/users" , "注册 IM 用户"),
    USER_QUERY("/users/%s" , "IM 用户查询"),
    USER_STATUS("/users/%s/status" , "用户在线状态查询"),
//    GROUP_MEMBER("/%s/users/" , "群组成员操作"), //{group_id}/users/{username}
    GROUP_MEMBER("/chatgroups/%s/users/" , "群组成员操作"),
    CREATE_CHATGROUPS("/chatgroups" , "创建群组"),
    SEND_MESSAGES("/messages" , "发送消息"),
    BATCH_DELETE_USERS("/users?limit=%s" , "批量删除环信app下的IM用户");


     private String action;
     private String desc;

     IMInterfaceActionEnums(String action, String desc){
        this.action = action;
        this.desc = desc;
     }

}
